package com.salt.patterns.builder;

/**
 * 短信发送 建造器
 *
 * @author HaiBo Kuang
 * @date 2021/5/16 15:20
 */
public class MsgSendBuild {
    public AliYunMsgSender aliYunMsgSender() {
        AliYunMsgConfig aliYunMsgConfig = new AliYunMsgConfig();
        return new AliYunMsgSender(aliYunMsgConfig);
    }

    public TxYunMsgSender txYunMsgSender() {
        TxMsgConfig txMsgConfig = new TxMsgConfig();
        return new TxYunMsgSender(txMsgConfig);
    }

}
